#!/bin/bash

mkdir build

#build source
pushd src
path=`pwd`
spath=${path//\//\\\/}
sed -i "s/SOURCEPATH/\"${spath}\"/g" basic/config.cpp
popd
pushd build
cmake ../src
make
